﻿using System.ComponentModel.DataAnnotations;
using Inovout.Models;

namespace Inovout.YunYao.Models
{
    public partial class Solution : DataObject
    {
        public Solution()
        {
            Features = new DataObjectSet<Feature>((feature) => { feature.Solution = this; });
        }
        [Alias("名称")]
        [Required]
        [StringLength(50)]
        public virtual string Name { get; set; }
        public virtual int Code { get; set; }
        public virtual Iesi.Collections.Generic.ISet<Feature> Features { get; set; }
        public virtual Iesi.Collections.Generic.ISet<MonitoringObject> MonitoringObjects { get; set; }
        public virtual Iesi.Collections.Generic.ISet<MonitoringNode> MonitoringNodes { get; set; }
        public virtual Iesi.Collections.Generic.ISet<Equipment> Equipments { get; set; }

    }
}
